package com.btb.adapter.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.btb.adapter.model.IpWhiteList;
import com.btb.adapter.model.IpWhiteListExample;

@Repository
public interface IpWhiteListMapper {
	long countByExample(IpWhiteListExample example);

	int deleteByExample(IpWhiteListExample example);

	int deleteByPrimaryKey(Long id);

	int insert(IpWhiteList record);

	int insertSelective(IpWhiteList record);

	List<IpWhiteList> selectByExample(IpWhiteListExample example);

	IpWhiteList selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") IpWhiteList record, @Param("example") IpWhiteListExample example);

	int updateByExample(@Param("record") IpWhiteList record, @Param("example") IpWhiteListExample example);

	int updateByPrimaryKeySelective(IpWhiteList record);

	int updateByPrimaryKey(IpWhiteList record);
}